package com.ztesoft.web.index.db.dao.mapper;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ztesoft.web.index.db.po.SpaceDataPO;

public interface IIndexMapper {

	public BigDecimal getCheckUpData(@Param("dataType")int dataType, @Param("nodeIds")List<Integer> nodeIds);
	
	public BigDecimal getCleanUpData(@Param("dataType")int dataType,  @Param("nodeIds")List<Integer> nodeIds);

	public SpaceDataPO getSpaceSize(@Param("detectionType")int detectionType,@Param("nodeIds") List<Integer> nodeIds);

	public BigDecimal getBackUpDataSize(@Param("sourceType")int sourceType,  @Param("nodeIds")List<Integer> nodeIds,
			@Param("createDate")String createDate,@Param("offset")int offset);
	
	public BigDecimal getCheckDataSize(@Param("sourceType")int sourceType,  @Param("nodeIds")List<Integer> nodeIds,
			@Param("createDate")String createDate,@Param("offset")int offset);
	
	public BigDecimal getResultDataSize(@Param("sourceType")int sourceType,  @Param("nodeIds")List<Integer> nodeIds,
			@Param("createDate")String createDate,@Param("offset")int offset);

	public int getIsCheckNum(@Param("sourceType")int sourceType,  @Param("nodeIds")List<Integer> nodeIds);

	public int searchTaskNum(@Param("sourceType")int sourceType, @Param("nodeIds")List<Integer> nodeIds, @Param("taskState")String taskState,
			@Param("createDate") Date date);

}
